package com.esyoga.yoyoga.pojo;

import org.springframework.stereotype.Component;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

@Component
public class TTrainerExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TTrainerExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTIdIsNull() {
            addCriterion("t_id is null");
            return (Criteria) this;
        }

        public Criteria andTIdIsNotNull() {
            addCriterion("t_id is not null");
            return (Criteria) this;
        }

        public Criteria andTIdEqualTo(Integer value) {
            addCriterion("t_id =", value, "tId");
            return (Criteria) this;
        }

        public Criteria andTIdNotEqualTo(Integer value) {
            addCriterion("t_id <>", value, "tId");
            return (Criteria) this;
        }

        public Criteria andTIdGreaterThan(Integer value) {
            addCriterion("t_id >", value, "tId");
            return (Criteria) this;
        }

        public Criteria andTIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("t_id >=", value, "tId");
            return (Criteria) this;
        }

        public Criteria andTIdLessThan(Integer value) {
            addCriterion("t_id <", value, "tId");
            return (Criteria) this;
        }

        public Criteria andTIdLessThanOrEqualTo(Integer value) {
            addCriterion("t_id <=", value, "tId");
            return (Criteria) this;
        }

        public Criteria andTIdIn(List<Integer> values) {
            addCriterion("t_id in", values, "tId");
            return (Criteria) this;
        }

        public Criteria andTIdNotIn(List<Integer> values) {
            addCriterion("t_id not in", values, "tId");
            return (Criteria) this;
        }

        public Criteria andTIdBetween(Integer value1, Integer value2) {
            addCriterion("t_id between", value1, value2, "tId");
            return (Criteria) this;
        }

        public Criteria andTIdNotBetween(Integer value1, Integer value2) {
            addCriterion("t_id not between", value1, value2, "tId");
            return (Criteria) this;
        }

        public Criteria andTAccountIsNull() {
            addCriterion("t_account is null");
            return (Criteria) this;
        }

        public Criteria andTAccountIsNotNull() {
            addCriterion("t_account is not null");
            return (Criteria) this;
        }

        public Criteria andTAccountEqualTo(String value) {
            addCriterion("t_account =", value, "tAccount");
            return (Criteria) this;
        }

        public Criteria andTAccountNotEqualTo(String value) {
            addCriterion("t_account <>", value, "tAccount");
            return (Criteria) this;
        }

        public Criteria andTAccountGreaterThan(String value) {
            addCriterion("t_account >", value, "tAccount");
            return (Criteria) this;
        }

        public Criteria andTAccountGreaterThanOrEqualTo(String value) {
            addCriterion("t_account >=", value, "tAccount");
            return (Criteria) this;
        }

        public Criteria andTAccountLessThan(String value) {
            addCriterion("t_account <", value, "tAccount");
            return (Criteria) this;
        }

        public Criteria andTAccountLessThanOrEqualTo(String value) {
            addCriterion("t_account <=", value, "tAccount");
            return (Criteria) this;
        }

        public Criteria andTAccountLike(String value) {
            addCriterion("t_account like", value, "tAccount");
            return (Criteria) this;
        }

        public Criteria andTAccountNotLike(String value) {
            addCriterion("t_account not like", value, "tAccount");
            return (Criteria) this;
        }

        public Criteria andTAccountIn(List<String> values) {
            addCriterion("t_account in", values, "tAccount");
            return (Criteria) this;
        }

        public Criteria andTAccountNotIn(List<String> values) {
            addCriterion("t_account not in", values, "tAccount");
            return (Criteria) this;
        }

        public Criteria andTAccountBetween(String value1, String value2) {
            addCriterion("t_account between", value1, value2, "tAccount");
            return (Criteria) this;
        }

        public Criteria andTAccountNotBetween(String value1, String value2) {
            addCriterion("t_account not between", value1, value2, "tAccount");
            return (Criteria) this;
        }

        public Criteria andTPasswordIsNull() {
            addCriterion("t_password is null");
            return (Criteria) this;
        }

        public Criteria andTPasswordIsNotNull() {
            addCriterion("t_password is not null");
            return (Criteria) this;
        }

        public Criteria andTPasswordEqualTo(String value) {
            addCriterion("t_password =", value, "tPassword");
            return (Criteria) this;
        }

        public Criteria andTPasswordNotEqualTo(String value) {
            addCriterion("t_password <>", value, "tPassword");
            return (Criteria) this;
        }

        public Criteria andTPasswordGreaterThan(String value) {
            addCriterion("t_password >", value, "tPassword");
            return (Criteria) this;
        }

        public Criteria andTPasswordGreaterThanOrEqualTo(String value) {
            addCriterion("t_password >=", value, "tPassword");
            return (Criteria) this;
        }

        public Criteria andTPasswordLessThan(String value) {
            addCriterion("t_password <", value, "tPassword");
            return (Criteria) this;
        }

        public Criteria andTPasswordLessThanOrEqualTo(String value) {
            addCriterion("t_password <=", value, "tPassword");
            return (Criteria) this;
        }

        public Criteria andTPasswordLike(String value) {
            addCriterion("t_password like", value, "tPassword");
            return (Criteria) this;
        }

        public Criteria andTPasswordNotLike(String value) {
            addCriterion("t_password not like", value, "tPassword");
            return (Criteria) this;
        }

        public Criteria andTPasswordIn(List<String> values) {
            addCriterion("t_password in", values, "tPassword");
            return (Criteria) this;
        }

        public Criteria andTPasswordNotIn(List<String> values) {
            addCriterion("t_password not in", values, "tPassword");
            return (Criteria) this;
        }

        public Criteria andTPasswordBetween(String value1, String value2) {
            addCriterion("t_password between", value1, value2, "tPassword");
            return (Criteria) this;
        }

        public Criteria andTPasswordNotBetween(String value1, String value2) {
            addCriterion("t_password not between", value1, value2, "tPassword");
            return (Criteria) this;
        }

        public Criteria andTImageIsNull() {
            addCriterion("t_image is null");
            return (Criteria) this;
        }

        public Criteria andTImageIsNotNull() {
            addCriterion("t_image is not null");
            return (Criteria) this;
        }

        public Criteria andTImageEqualTo(String value) {
            addCriterion("t_image =", value, "tImage");
            return (Criteria) this;
        }

        public Criteria andTImageNotEqualTo(String value) {
            addCriterion("t_image <>", value, "tImage");
            return (Criteria) this;
        }

        public Criteria andTImageGreaterThan(String value) {
            addCriterion("t_image >", value, "tImage");
            return (Criteria) this;
        }

        public Criteria andTImageGreaterThanOrEqualTo(String value) {
            addCriterion("t_image >=", value, "tImage");
            return (Criteria) this;
        }

        public Criteria andTImageLessThan(String value) {
            addCriterion("t_image <", value, "tImage");
            return (Criteria) this;
        }

        public Criteria andTImageLessThanOrEqualTo(String value) {
            addCriterion("t_image <=", value, "tImage");
            return (Criteria) this;
        }

        public Criteria andTImageLike(String value) {
            addCriterion("t_image like", value, "tImage");
            return (Criteria) this;
        }

        public Criteria andTImageNotLike(String value) {
            addCriterion("t_image not like", value, "tImage");
            return (Criteria) this;
        }

        public Criteria andTImageIn(List<String> values) {
            addCriterion("t_image in", values, "tImage");
            return (Criteria) this;
        }

        public Criteria andTImageNotIn(List<String> values) {
            addCriterion("t_image not in", values, "tImage");
            return (Criteria) this;
        }

        public Criteria andTImageBetween(String value1, String value2) {
            addCriterion("t_image between", value1, value2, "tImage");
            return (Criteria) this;
        }

        public Criteria andTImageNotBetween(String value1, String value2) {
            addCriterion("t_image not between", value1, value2, "tImage");
            return (Criteria) this;
        }

        public Criteria andTNameIsNull() {
            addCriterion("t_name is null");
            return (Criteria) this;
        }

        public Criteria andTNameIsNotNull() {
            addCriterion("t_name is not null");
            return (Criteria) this;
        }

        public Criteria andTNameEqualTo(String value) {
            addCriterion("t_name =", value, "tName");
            return (Criteria) this;
        }

        public Criteria andTNameNotEqualTo(String value) {
            addCriterion("t_name <>", value, "tName");
            return (Criteria) this;
        }

        public Criteria andTNameGreaterThan(String value) {
            addCriterion("t_name >", value, "tName");
            return (Criteria) this;
        }

        public Criteria andTNameGreaterThanOrEqualTo(String value) {
            addCriterion("t_name >=", value, "tName");
            return (Criteria) this;
        }

        public Criteria andTNameLessThan(String value) {
            addCriterion("t_name <", value, "tName");
            return (Criteria) this;
        }

        public Criteria andTNameLessThanOrEqualTo(String value) {
            addCriterion("t_name <=", value, "tName");
            return (Criteria) this;
        }

        public Criteria andTNameLike(String value) {
            addCriterion("t_name like", value, "tName");
            return (Criteria) this;
        }

        public Criteria andTNameNotLike(String value) {
            addCriterion("t_name not like", value, "tName");
            return (Criteria) this;
        }

        public Criteria andTNameIn(List<String> values) {
            addCriterion("t_name in", values, "tName");
            return (Criteria) this;
        }

        public Criteria andTNameNotIn(List<String> values) {
            addCriterion("t_name not in", values, "tName");
            return (Criteria) this;
        }

        public Criteria andTNameBetween(String value1, String value2) {
            addCriterion("t_name between", value1, value2, "tName");
            return (Criteria) this;
        }

        public Criteria andTNameNotBetween(String value1, String value2) {
            addCriterion("t_name not between", value1, value2, "tName");
            return (Criteria) this;
        }

        public Criteria andTIntroductionIsNull() {
            addCriterion("t_introduction is null");
            return (Criteria) this;
        }

        public Criteria andTIntroductionIsNotNull() {
            addCriterion("t_introduction is not null");
            return (Criteria) this;
        }

        public Criteria andTIntroductionEqualTo(String value) {
            addCriterion("t_introduction =", value, "tIntroduction");
            return (Criteria) this;
        }

        public Criteria andTIntroductionNotEqualTo(String value) {
            addCriterion("t_introduction <>", value, "tIntroduction");
            return (Criteria) this;
        }

        public Criteria andTIntroductionGreaterThan(String value) {
            addCriterion("t_introduction >", value, "tIntroduction");
            return (Criteria) this;
        }

        public Criteria andTIntroductionGreaterThanOrEqualTo(String value) {
            addCriterion("t_introduction >=", value, "tIntroduction");
            return (Criteria) this;
        }

        public Criteria andTIntroductionLessThan(String value) {
            addCriterion("t_introduction <", value, "tIntroduction");
            return (Criteria) this;
        }

        public Criteria andTIntroductionLessThanOrEqualTo(String value) {
            addCriterion("t_introduction <=", value, "tIntroduction");
            return (Criteria) this;
        }

        public Criteria andTIntroductionLike(String value) {
            addCriterion("t_introduction like", value, "tIntroduction");
            return (Criteria) this;
        }

        public Criteria andTIntroductionNotLike(String value) {
            addCriterion("t_introduction not like", value, "tIntroduction");
            return (Criteria) this;
        }

        public Criteria andTIntroductionIn(List<String> values) {
            addCriterion("t_introduction in", values, "tIntroduction");
            return (Criteria) this;
        }

        public Criteria andTIntroductionNotIn(List<String> values) {
            addCriterion("t_introduction not in", values, "tIntroduction");
            return (Criteria) this;
        }

        public Criteria andTIntroductionBetween(String value1, String value2) {
            addCriterion("t_introduction between", value1, value2, "tIntroduction");
            return (Criteria) this;
        }

        public Criteria andTIntroductionNotBetween(String value1, String value2) {
            addCriterion("t_introduction not between", value1, value2, "tIntroduction");
            return (Criteria) this;
        }

        public Criteria andTValueIsNull() {
            addCriterion("t_value is null");
            return (Criteria) this;
        }

        public Criteria andTValueIsNotNull() {
            addCriterion("t_value is not null");
            return (Criteria) this;
        }

        public Criteria andTValueEqualTo(BigDecimal value) {
            addCriterion("t_value =", value, "tValue");
            return (Criteria) this;
        }

        public Criteria andTValueNotEqualTo(BigDecimal value) {
            addCriterion("t_value <>", value, "tValue");
            return (Criteria) this;
        }

        public Criteria andTValueGreaterThan(BigDecimal value) {
            addCriterion("t_value >", value, "tValue");
            return (Criteria) this;
        }

        public Criteria andTValueGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("t_value >=", value, "tValue");
            return (Criteria) this;
        }

        public Criteria andTValueLessThan(BigDecimal value) {
            addCriterion("t_value <", value, "tValue");
            return (Criteria) this;
        }

        public Criteria andTValueLessThanOrEqualTo(BigDecimal value) {
            addCriterion("t_value <=", value, "tValue");
            return (Criteria) this;
        }

        public Criteria andTValueIn(List<BigDecimal> values) {
            addCriterion("t_value in", values, "tValue");
            return (Criteria) this;
        }

        public Criteria andTValueNotIn(List<BigDecimal> values) {
            addCriterion("t_value not in", values, "tValue");
            return (Criteria) this;
        }

        public Criteria andTValueBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("t_value between", value1, value2, "tValue");
            return (Criteria) this;
        }

        public Criteria andTValueNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("t_value not between", value1, value2, "tValue");
            return (Criteria) this;
        }

        public Criteria andTBanlanceIsNull() {
            addCriterion("t_banlance is null");
            return (Criteria) this;
        }

        public Criteria andTBanlanceIsNotNull() {
            addCriterion("t_banlance is not null");
            return (Criteria) this;
        }

        public Criteria andTBanlanceEqualTo(BigDecimal value) {
            addCriterion("t_banlance =", value, "tBanlance");
            return (Criteria) this;
        }

        public Criteria andTBanlanceNotEqualTo(BigDecimal value) {
            addCriterion("t_banlance <>", value, "tBanlance");
            return (Criteria) this;
        }

        public Criteria andTBanlanceGreaterThan(BigDecimal value) {
            addCriterion("t_banlance >", value, "tBanlance");
            return (Criteria) this;
        }

        public Criteria andTBanlanceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("t_banlance >=", value, "tBanlance");
            return (Criteria) this;
        }

        public Criteria andTBanlanceLessThan(BigDecimal value) {
            addCriterion("t_banlance <", value, "tBanlance");
            return (Criteria) this;
        }

        public Criteria andTBanlanceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("t_banlance <=", value, "tBanlance");
            return (Criteria) this;
        }

        public Criteria andTBanlanceIn(List<BigDecimal> values) {
            addCriterion("t_banlance in", values, "tBanlance");
            return (Criteria) this;
        }

        public Criteria andTBanlanceNotIn(List<BigDecimal> values) {
            addCriterion("t_banlance not in", values, "tBanlance");
            return (Criteria) this;
        }

        public Criteria andTBanlanceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("t_banlance between", value1, value2, "tBanlance");
            return (Criteria) this;
        }

        public Criteria andTBanlanceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("t_banlance not between", value1, value2, "tBanlance");
            return (Criteria) this;
        }

        public Criteria andTLatlngIsNull() {
            addCriterion("t_latlng is null");
            return (Criteria) this;
        }

        public Criteria andTLatlngIsNotNull() {
            addCriterion("t_latlng is not null");
            return (Criteria) this;
        }

        public Criteria andTLatlngEqualTo(String value) {
            addCriterion("t_latlng =", value, "tLatlng");
            return (Criteria) this;
        }

        public Criteria andTLatlngNotEqualTo(String value) {
            addCriterion("t_latlng <>", value, "tLatlng");
            return (Criteria) this;
        }

        public Criteria andTLatlngGreaterThan(String value) {
            addCriterion("t_latlng >", value, "tLatlng");
            return (Criteria) this;
        }

        public Criteria andTLatlngGreaterThanOrEqualTo(String value) {
            addCriterion("t_latlng >=", value, "tLatlng");
            return (Criteria) this;
        }

        public Criteria andTLatlngLessThan(String value) {
            addCriterion("t_latlng <", value, "tLatlng");
            return (Criteria) this;
        }

        public Criteria andTLatlngLessThanOrEqualTo(String value) {
            addCriterion("t_latlng <=", value, "tLatlng");
            return (Criteria) this;
        }

        public Criteria andTLatlngLike(String value) {
            addCriterion("t_latlng like", value, "tLatlng");
            return (Criteria) this;
        }

        public Criteria andTLatlngNotLike(String value) {
            addCriterion("t_latlng not like", value, "tLatlng");
            return (Criteria) this;
        }

        public Criteria andTLatlngIn(List<String> values) {
            addCriterion("t_latlng in", values, "tLatlng");
            return (Criteria) this;
        }

        public Criteria andTLatlngNotIn(List<String> values) {
            addCriterion("t_latlng not in", values, "tLatlng");
            return (Criteria) this;
        }

        public Criteria andTLatlngBetween(String value1, String value2) {
            addCriterion("t_latlng between", value1, value2, "tLatlng");
            return (Criteria) this;
        }

        public Criteria andTLatlngNotBetween(String value1, String value2) {
            addCriterion("t_latlng not between", value1, value2, "tLatlng");
            return (Criteria) this;
        }

        public Criteria andTAddressIsNull() {
            addCriterion("t_address is null");
            return (Criteria) this;
        }

        public Criteria andTAddressIsNotNull() {
            addCriterion("t_address is not null");
            return (Criteria) this;
        }

        public Criteria andTAddressEqualTo(String value) {
            addCriterion("t_address =", value, "tAddress");
            return (Criteria) this;
        }

        public Criteria andTAddressNotEqualTo(String value) {
            addCriterion("t_address <>", value, "tAddress");
            return (Criteria) this;
        }

        public Criteria andTAddressGreaterThan(String value) {
            addCriterion("t_address >", value, "tAddress");
            return (Criteria) this;
        }

        public Criteria andTAddressGreaterThanOrEqualTo(String value) {
            addCriterion("t_address >=", value, "tAddress");
            return (Criteria) this;
        }

        public Criteria andTAddressLessThan(String value) {
            addCriterion("t_address <", value, "tAddress");
            return (Criteria) this;
        }

        public Criteria andTAddressLessThanOrEqualTo(String value) {
            addCriterion("t_address <=", value, "tAddress");
            return (Criteria) this;
        }

        public Criteria andTAddressLike(String value) {
            addCriterion("t_address like", value, "tAddress");
            return (Criteria) this;
        }

        public Criteria andTAddressNotLike(String value) {
            addCriterion("t_address not like", value, "tAddress");
            return (Criteria) this;
        }

        public Criteria andTAddressIn(List<String> values) {
            addCriterion("t_address in", values, "tAddress");
            return (Criteria) this;
        }

        public Criteria andTAddressNotIn(List<String> values) {
            addCriterion("t_address not in", values, "tAddress");
            return (Criteria) this;
        }

        public Criteria andTAddressBetween(String value1, String value2) {
            addCriterion("t_address between", value1, value2, "tAddress");
            return (Criteria) this;
        }

        public Criteria andTAddressNotBetween(String value1, String value2) {
            addCriterion("t_address not between", value1, value2, "tAddress");
            return (Criteria) this;
        }

        public Criteria andTFreetimeIsNull() {
            addCriterion("t_freetime is null");
            return (Criteria) this;
        }

        public Criteria andTFreetimeIsNotNull() {
            addCriterion("t_freetime is not null");
            return (Criteria) this;
        }

        public Criteria andTFreetimeEqualTo(String value) {
            addCriterion("t_freetime =", value, "tFreetime");
            return (Criteria) this;
        }

        public Criteria andTFreetimeNotEqualTo(String value) {
            addCriterion("t_freetime <>", value, "tFreetime");
            return (Criteria) this;
        }

        public Criteria andTFreetimeGreaterThan(String value) {
            addCriterion("t_freetime >", value, "tFreetime");
            return (Criteria) this;
        }

        public Criteria andTFreetimeGreaterThanOrEqualTo(String value) {
            addCriterion("t_freetime >=", value, "tFreetime");
            return (Criteria) this;
        }

        public Criteria andTFreetimeLessThan(String value) {
            addCriterion("t_freetime <", value, "tFreetime");
            return (Criteria) this;
        }

        public Criteria andTFreetimeLessThanOrEqualTo(String value) {
            addCriterion("t_freetime <=", value, "tFreetime");
            return (Criteria) this;
        }

        public Criteria andTFreetimeLike(String value) {
            addCriterion("t_freetime like", value, "tFreetime");
            return (Criteria) this;
        }

        public Criteria andTFreetimeNotLike(String value) {
            addCriterion("t_freetime not like", value, "tFreetime");
            return (Criteria) this;
        }

        public Criteria andTFreetimeIn(List<String> values) {
            addCriterion("t_freetime in", values, "tFreetime");
            return (Criteria) this;
        }

        public Criteria andTFreetimeNotIn(List<String> values) {
            addCriterion("t_freetime not in", values, "tFreetime");
            return (Criteria) this;
        }

        public Criteria andTFreetimeBetween(String value1, String value2) {
            addCriterion("t_freetime between", value1, value2, "tFreetime");
            return (Criteria) this;
        }

        public Criteria andTFreetimeNotBetween(String value1, String value2) {
            addCriterion("t_freetime not between", value1, value2, "tFreetime");
            return (Criteria) this;
        }

        public Criteria andTStateIsNull() {
            addCriterion("t_state is null");
            return (Criteria) this;
        }

        public Criteria andTStateIsNotNull() {
            addCriterion("t_state is not null");
            return (Criteria) this;
        }

        public Criteria andTStateEqualTo(Integer value) {
            addCriterion("t_state =", value, "tState");
            return (Criteria) this;
        }

        public Criteria andTStateNotEqualTo(Integer value) {
            addCriterion("t_state <>", value, "tState");
            return (Criteria) this;
        }

        public Criteria andTStateGreaterThan(Integer value) {
            addCriterion("t_state >", value, "tState");
            return (Criteria) this;
        }

        public Criteria andTStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("t_state >=", value, "tState");
            return (Criteria) this;
        }

        public Criteria andTStateLessThan(Integer value) {
            addCriterion("t_state <", value, "tState");
            return (Criteria) this;
        }

        public Criteria andTStateLessThanOrEqualTo(Integer value) {
            addCriterion("t_state <=", value, "tState");
            return (Criteria) this;
        }

        public Criteria andTStateIn(List<Integer> values) {
            addCriterion("t_state in", values, "tState");
            return (Criteria) this;
        }

        public Criteria andTStateNotIn(List<Integer> values) {
            addCriterion("t_state not in", values, "tState");
            return (Criteria) this;
        }

        public Criteria andTStateBetween(Integer value1, Integer value2) {
            addCriterion("t_state between", value1, value2, "tState");
            return (Criteria) this;
        }

        public Criteria andTStateNotBetween(Integer value1, Integer value2) {
            addCriterion("t_state not between", value1, value2, "tState");
            return (Criteria) this;
        }

        public Criteria andTRoleIsNull() {
            addCriterion("t_role is null");
            return (Criteria) this;
        }

        public Criteria andTRoleIsNotNull() {
            addCriterion("t_role is not null");
            return (Criteria) this;
        }

        public Criteria andTRoleEqualTo(Integer value) {
            addCriterion("t_role =", value, "tRole");
            return (Criteria) this;
        }

        public Criteria andTRoleNotEqualTo(Integer value) {
            addCriterion("t_role <>", value, "tRole");
            return (Criteria) this;
        }

        public Criteria andTRoleGreaterThan(Integer value) {
            addCriterion("t_role >", value, "tRole");
            return (Criteria) this;
        }

        public Criteria andTRoleGreaterThanOrEqualTo(Integer value) {
            addCriterion("t_role >=", value, "tRole");
            return (Criteria) this;
        }

        public Criteria andTRoleLessThan(Integer value) {
            addCriterion("t_role <", value, "tRole");
            return (Criteria) this;
        }

        public Criteria andTRoleLessThanOrEqualTo(Integer value) {
            addCriterion("t_role <=", value, "tRole");
            return (Criteria) this;
        }

        public Criteria andTRoleIn(List<Integer> values) {
            addCriterion("t_role in", values, "tRole");
            return (Criteria) this;
        }

        public Criteria andTRoleNotIn(List<Integer> values) {
            addCriterion("t_role not in", values, "tRole");
            return (Criteria) this;
        }

        public Criteria andTRoleBetween(Integer value1, Integer value2) {
            addCriterion("t_role between", value1, value2, "tRole");
            return (Criteria) this;
        }

        public Criteria andTRoleNotBetween(Integer value1, Integer value2) {
            addCriterion("t_role not between", value1, value2, "tRole");
            return (Criteria) this;
        }

        public Criteria andTPermissionIsNull() {
            addCriterion("t_permission is null");
            return (Criteria) this;
        }

        public Criteria andTPermissionIsNotNull() {
            addCriterion("t_permission is not null");
            return (Criteria) this;
        }

        public Criteria andTPermissionEqualTo(Integer value) {
            addCriterion("t_permission =", value, "tPermission");
            return (Criteria) this;
        }

        public Criteria andTPermissionNotEqualTo(Integer value) {
            addCriterion("t_permission <>", value, "tPermission");
            return (Criteria) this;
        }

        public Criteria andTPermissionGreaterThan(Integer value) {
            addCriterion("t_permission >", value, "tPermission");
            return (Criteria) this;
        }

        public Criteria andTPermissionGreaterThanOrEqualTo(Integer value) {
            addCriterion("t_permission >=", value, "tPermission");
            return (Criteria) this;
        }

        public Criteria andTPermissionLessThan(Integer value) {
            addCriterion("t_permission <", value, "tPermission");
            return (Criteria) this;
        }

        public Criteria andTPermissionLessThanOrEqualTo(Integer value) {
            addCriterion("t_permission <=", value, "tPermission");
            return (Criteria) this;
        }

        public Criteria andTPermissionIn(List<Integer> values) {
            addCriterion("t_permission in", values, "tPermission");
            return (Criteria) this;
        }

        public Criteria andTPermissionNotIn(List<Integer> values) {
            addCriterion("t_permission not in", values, "tPermission");
            return (Criteria) this;
        }

        public Criteria andTPermissionBetween(Integer value1, Integer value2) {
            addCriterion("t_permission between", value1, value2, "tPermission");
            return (Criteria) this;
        }

        public Criteria andTPermissionNotBetween(Integer value1, Integer value2) {
            addCriterion("t_permission not between", value1, value2, "tPermission");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}